package com.cashoutgaming.client.modules.application;

import javax.inject.Singleton;
import com.cashoutgaming.client.common.SessionManager;
import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;

/**
 * This class is the GIN module definition configuring the injectable classes
 * for the desktop mode of operation. It maps classes to either a global
 * singleton object or maps to an interface.
 */
public class ApplicationModule extends AbstractPresenterModule {

	@Override
	protected void configure() {

		bindPresenter(ApplicationPresenter.class, ApplicationPresenter.MyView.class, ApplicationView.class, ApplicationPresenter.MyProxy.class);

		bind(SessionManager.class).in(Singleton.class);
	}
}
